package cool.taomu.box.test

import com.google.inject.servlet.GuiceServletContextListener
import com.google.inject.servlet.ServletModule
import com.google.inject.Guice

class MyGuiceServletContextListener extends GuiceServletContextListener {

	override protected getInjector() {
		return Guice.createInjector(new ServletModule() {
			override protected configureServlets() {
				println("aaaaa");
				//serve("/*")
			}
		});
	}

}
